﻿using T4UtilityBelt.Writers;

namespace T4UtilityBelt.UxDesigns.Controls.Renderers.ViewModel
{
    public class ButtonRenderer : Renderer<ButtonControl, IButtonRenderer>, IButtonRenderer
    {

        protected override void OnRenderUiXmlContent(ButtonControl control, CodeWriter writer)
        {
            
        }

        protected override void OnRenderUiCode(ButtonControl control, CodeWriter writer)
        {
//            writer.WriteFormatLine(
//@"      public ICommand {0}Command
//        {{
//            get
//            {{
//                return new MvxRelayCommand(Execute{0});
//            }}
//        }}
// 
//        public Partial void Execute{0}();
//",
//control.CommandName
//);

        }
    }
}